<?php


/**
* 关注视图 
*/
class guanzhuView extends GetLoad
{
	
	public function jianliview($data){
		$this->load("Controller/user");
		$daohang =new ControllerName();
		$daohang->Getname(0);

?>


<div style="margin-left:auto; margin-right:auto;height:1000px;margin-top:30px;" class="container" >    
        
        	<div class="container col-sm-8"  >


                <div  style="height:10%; width:100%;margin-top:100px">
                    <button  class="btn " ><a <?php echo "href=' ./index.php?route=Controller/guanzhu/ControllerGuanzhu/getwoguanzhu&=".$data['name']."'" ?> >  
                    	<span class="glyphicon glyphicon-user">我关注的人</span>
                    </a></button>

                    <button class="btn " ><a <?php echo "href='./index.php?route=Controller/guanzhu/ControllerGuanzhu/getguanzhu&=".$data['name']."'" ?> >
                        <span class="glyphicon glyphicon-user">关注我的人</span>
                    </a></button>
                    
                </div>  
				<?php foreach ($data['guanzhu'] as $value) { ?>
               <div style="height:10%; width:100%; background-color:#ccc; margin-top:10px">
                    <a class="media-left" <?php echo "href='./index.php?route=Controller/sixin/ControllerSixin/sixinbianji&=".$value['name_id']."'" ?> >
                        <img class ="media-object img-circle" <?php echo "src='".$value['touxiang']."'"?> style="height:100px; width:100px; background-color: #CCC">
                    </a>

                    <div class="media-body">
                        <h4 class="media-heading"><?php echo $value['name']; ?></h4>
                        <?php echo $value['xuanyan'] ?>

                         <button class="btn " style="float: right;"  >
                            <a <?php echo "href='".$value['url']."'" ?> >
                            <span class="glyphicon glyphicon-user"><?php echo $value['title'] ?></span>
                            </a>
                        </button>
                    </div>



                </div>

				<?php } ?>

 	
         </div>
           
         <div class="col-sm-4" style="margin-top:300px;">
         	
            	
            
         </div>
            
       </div>
    </div>

    
</body>
</html>


<?php 

	}
}

?>